<template>
  <div>
    <children :val="val" :flag="flag" @cg1="val = $event" @cg2="flag = $event"></children>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import children from './components/children.vue'
let val = ref(123)
let flag = ref(false)
</script>

<style lang="scss" scoped></style>
